<?php $this->load->view("general/header");?>
<div id="create_invoice" class="page_">
    <div class="form">              
        <div class="form_header"><a href="<?php echo site_url("admin/user/karyawan");?>">Daftar Pegawai</a> &rarr; Rubah Kata Sandi Untuk <?php echo $detail['name'];?></div>
        
        <div class="content_data">
        <form method="post" action="<?php echo site_url("admin/user/changepass/" .$detail['user_id']);?>">
        	<div class="row">
            	<div class="col1">Kata Sandi Lama</div>
                <div class="col2"><input type="password" name="password" value="" /> 
                	<div class="errorField"><?php echo form_error("username");?></div>
                </div>
			</div>
        	<div class="row">
            	<div class="col1">Kata Sandi Baru</div>
                <div class="col2"><input type="password" name="new_password" /> 
                	<div class="errorField"><?php echo form_error("new_password");?></div>
                </div>
			</div>
        	<div class="row">
            	<div class="col1">Ulangi Kata Sandi Baru</div>
                <div class="col2"><input type="password" name="new_password_c" /> 
                	<div class="errorField"><?php echo form_error("new_password_c");?></div>
                </div>
			</div>
            <div class="title">
            	<input type="submit" name="btnSave" value="Save" class="button_red" />
            </div>
            <div class="success"><?php echo (isset($success))?$success:"";?>&nbsp;</div>
        </form>
        </div>
        
    </div>
</div>
<?php $this->load->view("general/footer");?>